package br.com.softclinica.view;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextField;
import javax.swing.JLabel;
import javax.swing.JRadioButton;
import javax.swing.JTextPane;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import javax.swing.LayoutStyle.ComponentPlacement;
import javax.swing.UIManager;
import javax.swing.JButton;
import javax.swing.SwingConstants;
import javax.swing.JList;
import javax.swing.border.LineBorder;
import java.awt.Color;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;


public class TFichaEvolucao extends JFrame {

	private JPanel contentPane;
	private JTextField tfNome;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;
	private JTextField textField_5;
	private JTextField textField_6;
	private JTextField textField_7;
	private JTextField textField_8;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;
	private JTextField textField_12;
	private JTextField textField_13;
	private JTextField textField_14;
	private JTextField textField_15;
	private JTextField textField_16;
	private JTextField textField_17;
	private JTextField textField_18;
	private JTextField textField_19;
	private JTextField textField_20;
	private JTextField textField_21;
	private JTextField textField_22;
	private JLabel lblLegenda;
	private JLabel lblPresente;
	private JLabel lblPresenteE;
	private JLabel lblMuitoForte;
	private JLabel lblDiminuidoMas;
	private JLabel lblPresente_1;
	private JLabel label;
	private JTextField textField_23;
	private JPanel panel;
	private JComboBox comboBox;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel");
		} catch (Throwable e) {
			e.printStackTrace();
		}
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					TFichaEvolucao frame = new TFichaEvolucao();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public TFichaEvolucao() {
		setTitle("Ficha de Evolu\u00E7\u00E3o");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 652, 544);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		
		JLabel lblNome = new JLabel("Superficial IG");
		lblNome.setHorizontalAlignment(SwingConstants.RIGHT);
		lblNome.setBounds(5, 80, 97, 14);
		
		tfNome = new JTextField();
		tfNome.setBounds(120, 77, 62, 20);
		tfNome.setColumns(10);
		
		textField = new JTextField();
		textField.setBounds(120, 104, 62, 20);
		textField.setColumns(10);
		
		JLabel lblNewLabel = new JLabel("Profundo P");
		lblNewLabel.setHorizontalAlignment(SwingConstants.RIGHT);
		lblNewLabel.setBounds(5, 106, 97, 14);
		
		JLabel lblSuperficialE = new JLabel("Superficial E");
		lblSuperficialE.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSuperficialE.setBounds(5, 187, 91, 14);
		
		JLabel lblProfundoBp = new JLabel("Profundo BP");
		lblProfundoBp.setHorizontalAlignment(SwingConstants.RIGHT);
		lblProfundoBp.setBounds(5, 217, 90, 14);
		
		textField_1 = new JTextField();
		textField_1.setBounds(120, 185, 62, 20);
		textField_1.setColumns(10);
		
		textField_2 = new JTextField();
		textField_2.setBounds(120, 215, 61, 20);
		textField_2.setColumns(10);
		
		JLabel lblDireito = new JLabel("Direito");
		lblDireito.setHorizontalAlignment(SwingConstants.RIGHT);
		lblDireito.setBounds(5, 42, 55, 14);
		
		JLabel lblSuperficialId = new JLabel("Superficial ID");
		lblSuperficialId.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSuperficialId.setBounds(339, 79, 83, 14);
		
		JLabel lblProfundoC = new JLabel("Profundo C");
		lblProfundoC.setHorizontalAlignment(SwingConstants.RIGHT);
		lblProfundoC.setBounds(339, 106, 83, 14);
		
		JLabel lblSuperficialVb = new JLabel("Superficial VB");
		lblSuperficialVb.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSuperficialVb.setBounds(339, 187, 83, 14);
		
		JLabel lblProfundoF = new JLabel("Profundo F");
		lblProfundoF.setHorizontalAlignment(SwingConstants.RIGHT);
		lblProfundoF.setBounds(338, 217, 83, 14);
		
		JLabel lblSuperficialTa = new JLabel("Superficial TA");
		lblSuperficialTa.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSuperficialTa.setBounds(10, 283, 91, 14);
		
		JLabel lblProfundo = new JLabel("Profundo CS");
		lblProfundo.setHorizontalAlignment(SwingConstants.RIGHT);
		lblProfundo.setBounds(10, 311, 91, 14);
		
		textField_3 = new JTextField();
		textField_3.setBounds(125, 281, 62, 20);
		textField_3.setColumns(10);
		
		textField_4 = new JTextField();
		textField_4.setBounds(125, 309, 62, 20);
		textField_4.setColumns(10);
		
		JLabel lblEsquerdo = new JLabel("Esquerdo");
		lblEsquerdo.setHorizontalAlignment(SwingConstants.RIGHT);
		lblEsquerdo.setBounds(339, 42, 55, 14);
		
		JLabel lblSuperficialB = new JLabel("Superficial B");
		lblSuperficialB.setHorizontalAlignment(SwingConstants.RIGHT);
		lblSuperficialB.setBounds(344, 283, 72, 14);
		
		JLabel lblProfundoR = new JLabel("Profundo R");
		lblProfundoR.setHorizontalAlignment(SwingConstants.RIGHT);
		lblProfundoR.setBounds(344, 314, 72, 14);
		
		textField_5 = new JTextField();
		textField_5.setBounds(453, 77, 62, 20);
		textField_5.setColumns(10);
		
		textField_6 = new JTextField();
		textField_6.setBounds(453, 104, 62, 20);
		textField_6.setColumns(10);
		
		textField_7 = new JTextField();
		textField_7.setBounds(455, 185, 62, 20);
		textField_7.setColumns(10);
		
		textField_8 = new JTextField();
		textField_8.setBounds(455, 215, 60, 20);
		textField_8.setColumns(10);
		
		textField_9 = new JTextField();
		textField_9.setBounds(452, 281, 62, 20);
		textField_9.setColumns(10);
		
		textField_10 = new JTextField();
		textField_10.setBounds(452, 311, 62, 20);
		textField_10.setColumns(10);
		
		textField_11 = new JTextField();
		textField_11.setBounds(194, 77, 62, 20);
		textField_11.setColumns(10);
		
		textField_12 = new JTextField();
		textField_12.setBounds(194, 104, 62, 20);
		textField_12.setColumns(10);
		
		textField_13 = new JTextField();
		textField_13.setBounds(194, 185, 62, 20);
		textField_13.setColumns(10);
		
		textField_14 = new JTextField();
		textField_14.setBounds(193, 215, 62, 20);
		textField_14.setColumns(10);
		
		textField_15 = new JTextField();
		textField_15.setBounds(197, 281, 58, 20);
		textField_15.setColumns(10);
		
		textField_16 = new JTextField();
		textField_16.setBounds(197, 309, 58, 20);
		textField_16.setColumns(10);
		
		JLabel lblAntes = new JLabel("Antes");
		lblAntes.setBounds(127, 42, 55, 14);
		
		JLabel lblDepois = new JLabel("Depois");
		lblDepois.setBounds(201, 42, 55, 14);
		
		JLabel lblAntes_1 = new JLabel("Antes");
		lblAntes_1.setBounds(460, 42, 55, 14);
		
		textField_17 = new JTextField();
		textField_17.setBounds(527, 77, 62, 20);
		textField_17.setColumns(10);
		
		textField_18 = new JTextField();
		textField_18.setBounds(527, 104, 62, 20);
		textField_18.setColumns(10);
		
		textField_19 = new JTextField();
		textField_19.setBounds(527, 185, 62, 20);
		textField_19.setColumns(10);
		
		textField_20 = new JTextField();
		textField_20.setBounds(526, 215, 63, 20);
		textField_20.setColumns(10);
		
		textField_21 = new JTextField();
		textField_21.setBounds(524, 281, 65, 20);
		textField_21.setColumns(10);
		
		textField_22 = new JTextField();
		textField_22.setBounds(617, 309, 0, 20);
		textField_22.setColumns(10);
		
		JLabel lblDepois_1 = new JLabel("Depois");
		lblDepois_1.setBounds(534, 42, 55, 14);
		
		textField_23 = new JTextField();
		textField_23.setBounds(524, 311, 65, 20);
		textField_23.setColumns(10);
		contentPane.setLayout(null);
		contentPane.add(lblDireito);
		contentPane.add(lblAntes);
		contentPane.add(lblDepois);
		contentPane.add(lblEsquerdo);
		contentPane.add(lblAntes_1);
		contentPane.add(lblDepois_1);
		contentPane.add(lblNome);
		contentPane.add(tfNome);
		contentPane.add(textField_11);
		contentPane.add(lblSuperficialId);
		contentPane.add(textField_5);
		contentPane.add(textField_17);
		contentPane.add(lblNewLabel);
		contentPane.add(textField);
		contentPane.add(textField_12);
		contentPane.add(lblProfundoC);
		contentPane.add(textField_6);
		contentPane.add(textField_18);
		contentPane.add(lblSuperficialTa);
		contentPane.add(textField_3);
		contentPane.add(textField_15);
		contentPane.add(lblProfundo);
		contentPane.add(textField_4);
		contentPane.add(textField_16);
		contentPane.add(lblSuperficialB);
		contentPane.add(lblProfundoR);
		contentPane.add(textField_9);
		contentPane.add(textField_10);
		contentPane.add(lblProfundoBp);
		contentPane.add(textField_2);
		contentPane.add(textField_14);
		contentPane.add(lblProfundoF);
		contentPane.add(textField_8);
		contentPane.add(textField_23);
		contentPane.add(textField_21);
		contentPane.add(textField_20);
		contentPane.add(lblSuperficialE);
		contentPane.add(textField_1);
		contentPane.add(textField_13);
		contentPane.add(lblSuperficialVb);
		contentPane.add(textField_7);
		contentPane.add(textField_19);
		contentPane.add(textField_22);
		
		JButton btnSalvar = new JButton("Salvar");
		btnSalvar.setBounds(401, 468, 90, 28);
		contentPane.add(btnSalvar);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.setBounds(495, 468, 90, 28);
		contentPane.add(btnCancelar);
		
		panel = new JPanel();
		panel.setBorder(new LineBorder(new Color(0, 0, 0)));
		panel.setBounds(20, 337, 571, 119);
		contentPane.add(panel);
		panel.setLayout(null);
		
		lblPresente = new JLabel("+ Presente");
		lblPresente.setBounds(11, 43, 104, 14);
		panel.add(lblPresente);
		
		lblPresenteE = new JLabel("++ Presente e forte");
		lblPresenteE.setBounds(6, 62, 114, 14);
		panel.add(lblPresenteE);
		
		lblMuitoForte = new JLabel("+++ Muito Forte");
		lblMuitoForte.setBounds(6, 82, 119, 14);
		panel.add(lblMuitoForte);
		
		lblDiminuidoMas = new JLabel("- Diminuido mas presente");
		lblDiminuidoMas.setBounds(154, 42, 166, 14);
		panel.add(lblDiminuidoMas);
		
		lblPresente_1 = new JLabel("- - Presente e fraco");
		lblPresente_1.setBounds(147, 62, 155, 14);
		panel.add(lblPresente_1);
		
		label = new JLabel("- - - Sem pulso ou muito fraco");
		label.setBounds(137, 82, 180, 14);
		panel.add(label);
		
		lblLegenda = new JLabel("Legenda:");
		lblLegenda.setBounds(11, 6, 72, 14);
		panel.add(lblLegenda);
		
		comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"+", "+ +", "+ + +", "-", "- -", "- - -"}));
		comboBox.setBounds(278, 74, 62, 26);
		contentPane.add(comboBox);
	}
}
